<?php

class Core_Form_Admin_Settings_General_Stage extends Core_Form_Admin_Settings_Base
{
    protected function _init()
    {
        $this -> setName('form_settings_stage') -> setTitle('@self') -> setDesc('@self');
        
        $this -> addElement('@radio', 'site_stage_env', array(
            'multiOptions' => array(
                'production' => 'production',
                'testing' => 'testing',
                'development' => 'development',
            ),
            'value' => 'production',
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@radio', 'site_stage_debug', array(
            'multiOptions' => array(
                'on' => 'yes',
                'off' => 'no'
            ),
            'value' => 'off',
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@radio', 'site_stage_stats-request', array(
            'multiOptions' => array(
                'on' => 'yes',
                'off' => 'no'
            ),
            'value' => 'off',
            'label' => '@self',
            'desc' => '@self',
        ));

        /**
         * buttons
         */
        $this -> addElement('@group', 'buttons');

        $this -> getElement('buttons') -> addElement('@submit', '_submit') -> addElement('@cancel', '_canel');
    }

}
